package com.matt.service.impl;

import com.matt.foundation.vo.ChannelVo;
import com.matt.repository.base.BudgetTempleteNativeRepository;
import com.matt.service.BudgetTempleteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on $date$
 * *******************************
 */
@Service
public class BudgetTempleteServiceImpl implements BudgetTempleteService {

    @Autowired
    private BudgetTempleteNativeRepository budgetTempleteNativeRepository;

    @Override
    public List<ChannelVo> findAll(String areaId) {
        return budgetTempleteNativeRepository.findAll(areaId);
    }
}
